* {
  margin: 0;
  padding: 0;
  font-family: sans-serif, Verdana, Geneva, Tahoma, "微软字体";
}
body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
body {
  background: url("../images/bg.jpg") no-repeat center;
  background-position: fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
}
img {
  display: block;
  object-fit: cover;
}
.w {
  width: 15rem;
  margin: 0 auto;
}
.flex {
  display: flex;
}
/* header.css */
.header {
  background: url("../images/header.png") no-repeat center;
  background-size: cover;
  height: 1rem;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  /* 两侧留出一些空间 */
}
.header .flex-b {
  display: flex;
  width: 100%;
}
.header .flex-b h1 {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  /* 中间文字两侧留出一些空间 */
  color: #fff;
  font-size: 0.5rem;
}
.header .nav {
  display: flex;
  justify-content: space-around;
  flex: 1;
}
.header .nav a {
  color: #fff;
  font-size: 0.25rem;
}
.header .nav a:hover {
  color: aqua;
  /* 鼠标悬停时的颜色 */
}
.main {
  flex: 1;
  position: relative;
}
.main > .left {
  position: absolute;
  width: 5rem;
  left: 0;
  top: 0;
  padding: 0.25rem;
  background-image: linear-gradient(to right, #000050, #00000000);
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 10px;
}
.main > .left::-webkit-scrollbar {
  display: none;
  /* 隐藏滚动条 */
}
.leftBtn {
  position: absolute;
  right: -0.375rem;
  width: 0.375rem;
  background-color: #1f2630;
}
.modelTitle {
  color: #fff;
  background-image: linear-gradient(to right, #74e5f350, #74e5f300);
  line-height: 0.5rem;
  font-size: 0.3rem;
  padding: 5px;
  text-align: center;
  margin-right: 5px;
}
.model {
  margin: 20px 0;
  background: url("../images/box.png") no-repeat center center;
  background-size: 100% 100%;
  padding-top: 20px;
}
.model1 table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.25rem 0;
}
.model1 .zero {
  height: 0.1rem;
}
.model1 table thead {
  color: #fff;
  background-image: linear-gradient(to right, #000000, #74e5f300);
}
.model1 table td {
  padding: 5px;
}
.model1 table tbody td:nth-of-type(1) {
  color: #80e7f4;
}
.model1 table tbody td:nth-of-type(3) {
  color: #fff;
}
.model3 {
  position: relative;
  /* top: -50px; */
}
.model3 .switch {
  display: flex;
  justify-content: right;
  margin-top: 0.25rem;
}
.main > .right {
  width: 5rem;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.25rem;
  background-image: linear-gradient(to left, #000050, #00000000);
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 10px;
}
.main > .right::-webkit-scrollbar {
  display: none;
  /* 隐藏滚动条 */
}
.rightBtn {
  position: absolute;
  left: -0.375rem;
  width: 0.375rem;
  background-color: #1f2630;
}
.rightBtn img {
  width: 100%;
}
.model5 {
  position: relative;
  /* top: -100px; */
}
.model5 table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  color: #fff;
  font-size: 12px;
  margin-top: 10px;
}
.model5 table thead {
  background-color: #4358b3;
  line-height: 34px;
}
.model5 table img {
  width: 30px;
}
.model5 table {
  line-height: 34px;
}
#mapContainer {
  height: 100vh;
  width: 100%;
}
/* 自定义信息窗口样式 */
.window {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-image: linear-gradient(to bottom, #0d47a1, #81d4fa);
  /* 从深蓝色到淡蓝色的渐变 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 0.2rem;
  line-height: 1.5;
}
.window strong {
  font-size: 0.25rem;
  color: #333;
}
.info {
  color: #fff;
  font-size: 20px;
  text-align: center;
}
.info div {
  margin-bottom: 20px;
  width: 90%;
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info input {
  background-color: transparent;
  border: 1px solid #fff;
  line-height: 34px;
  font-size: large;
  width: 60%;
  color: #fff;
  text-align: center;
}
.model5Link {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px auto;
  margin-top: 10px;
}
.model5Link a {
  color: #fff;
  text-align: center;
  flex: 1;
  line-height: 34px;
  font-size: 0.1875rem;
  border-bottom: 1px solid #fff;
}
.model5Link1 {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  margin-top: 0.125rem;
  margin-bottom: 0.25rem;
  position: relative;
  /* 添加相对定位 */
  height: 3.5rem;
}
.fillImage {
  max-width: 100%;
  /* 图片最大宽度不超过父元素 */
  max-height: 100%;
  /* 图片最大高度不超过父元素 */
  object-fit: contain;
  /* 保持图片比例并完整显示 */
}
.mainwx {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 水平居中 */
  justify-content: center;
  /* 垂直居中（如果需要的话） */
  margin-top: 20px;
}
.mainwx #mtable,
.mainwx #mtable2,
.mainwx #mtable3-1,
.mainwx #mtable3-2 {
  width: 100%;
  height: 3.75rem;
}
.button-group {
  display: flex;
  gap: 10px;
  /* 按钮之间的间距 */
}
.button-group button {
  background-color: #5615ed;
  /* 蓝色背景 */
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  cursor: pointer;
  border-radius: 8px;
  /* 圆角 */
  transition-duration: 0.4s;
  /* 过渡效果 */
}
.button-group button:hover {
  background-color: white;
  color: black;
  border: 2px solid #007BFF;
}
.button-group button.active {
  background-color: #d5eb11;
  color: white;
}
.model6 {
  width: 100%;
  border-collapse: collapse;
}
.model6 td {
  padding: 5px;
  text-align: center;
  border: 1px solid #066F72;
  color: #fff;
  height: 0.425rem;
  font-size: 0.2125rem;
}
/* 新增底部浮动盒子的样式 */
.bottom-box {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-image: linear-gradient(to top, #3f3ffad5, #00000000);
  border: 1px solid #3746e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0.125rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  z-index: 100;
  border-radius: 0.3125rem;
}
/* 底部浮动盒子内的链接样式 */
.bottom-box a {
  text-decoration: none;
  color: #fff;
  padding: 0;
  font-size: 0.3rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.main .bottom-box a:hover {
  color: #f0f348;
}
.main .bottom-box .acting {
  /* background-color: rgba(0, 217, 255, 0.5);
    padding: 10px;
    border-radius: .3125rem; */
  color: #f0f348;
}
/* 设置表格容器的高度，并启用滚动条 */
.table-container {
  max-height: 330px;
  /* 设置最大高度 */
  overflow-y: auto;
  /* 超出时启用垂直滚动条 */
  border: 1px solid #066F72;
  /* 可选：添加边框 */
  margin-bottom: 20px;
  /* 可选：底部间距 */
}
/* 设置表格样式 */
table {
  width: 100%;
  /* 让表格充满容器 */
  border-collapse: collapse;
  /* 去除单元格间的间隙 */
}
table th,
table td {
  border: 1px solid #066F72;
  /* 给表格添加边框 */
  padding: 0.1rem;
  /* 单元格内边距 */
  text-align: center;
  /* 文字居中 */
}
table th {
  background-color: #f4f4f4;
  /* 表头背景颜色 */
}
/* 自定义滚动条 */
.table-container::-webkit-scrollbar {
  width: 0.15rem;
  /* 设置滚动条宽度 */
}
.table-container::-webkit-scrollbar-thumb {
  background-color: #007bff;
  /* 设置滚动条的颜色为蓝色 */
  border-radius: 10px;
  /* 设置圆角效果 */
}
.table-container::-webkit-scrollbar-track {
  background-color: #1fbbc089;
  /* 设置滚动条背景色 */
  border-radius: 10px;
  /* 设置圆角效果 */
}
